import request from '@/utils/request'
const BASE_URL = '/destroyOrderOversea'
// 分页查询
export function getDestructPageList(data) {
  return request({
    url: BASE_URL + '/getPageList',
    method: 'post',
    data
  })
}
// 新增
export function addDestruct(data) {
  return request({
    url: BASE_URL + '/add',
    method: 'post',
    data
  })
}
// 查询
export function querySKUList(data) {
  return request({
    url: BASE_URL + '/querySKUList',
    method: 'post',
    data
  })
}

// 详情
export function getDestructDetail(data) {
  return request({
    url: BASE_URL + '/get',
    method: 'post',
    data
  })
}
// 删除
export function deleteDestruct(data) {
  return request({
    url: BASE_URL + '/delete',
    method: 'post',
    data
  })
}

export function exportList(data) {
  return request({
    url: BASE_URL + '/selectByDestroyOrderOverseaIds',
    method: 'post',
    data
  })
}
